FROM java:8

COPY target/*.jar /user.jar

CMD ["--server.port=8001"]

EXPOSE 8001

ENTRYPOINT ["java","-Xms64m","-Xmx128m","-jar","user.jar"]